package com.nxk.modules.core.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nxk.modules.core.entity.SysMenuRole;
import com.nxk.modules.core.entity.vo.MenuRoleVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysMenuRoleDao extends BaseMapper<SysMenuRole> {

    List<MenuRoleVo> queryMenuByRoleId(String roleId);

    List<MenuRoleVo> queryMenuByRoleCode(String roleCode);

}
